import request from '@/util/request.js'
/**
 * @description 提交意见建议
 * @param data
 * @returns {*}
 */
export function submitAdvice(data) {
	return request({
		url: '/api/idea/save ',
		method: 'POST',
		data
	})
}
/**
 * @description 意见建议列表分页查询
 * @returns {*}
 */
export function getIdeaList(data) {
	return request({
		url: '/api/idea/get ',
		method: 'POST',
		data
	})
}